/* 样式重置 */
* {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
html,
body {
  height: 100%;
  position: relative;
  margin: 0;
  overflow: hidden;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
body {
  background-color: #000018;
  font-family: '微软雅黑';
}
a {
  text-decoration: none;
}
/* 框架 */
#container {
  width: 100%;
  height: 100%;
  position: fixed;
  overflow: hidden;
}
#startgame {
  position: absolute;
  right: 20px;
  bottom: 20px;
}
/* 游戏区 */
#gamepanel {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
/* 绘制区 canvas */
#stage {
  background-color: #000;
}
/* 分数 */
.score-wrap {
  background: url(../img/scorebg.png) no-repeat;
  background-size: 100%;
  color: #FFF;
  /*display: none;*/
  font-family: "Helvetica", "Microsoft YaHei", sans-serif;
  font-style: italic;
  font-size: 0.34rem;
  font-weight: 700;
  height: 0.64rem;
  letter-spacing: 0.04rem;
  padding: 0.14rem 0.2rem;
  position: absolute;
  right: 0.4rem;
  text-align: right;
  text-shadow: 1.5px 0 0 #613209, -1.5px 0 0 #613209, 0 1px 0 #613209, 0 -1.5px 0 #613209, 1px 1px 0 #613209, -1px 1px 0 #613209, 1px -1px 0 #613209, -1px -1px 0 #613209;
  top: 0.2rem;
  width: 2.1rem;
  z-index: 1005;
  /* 心 */
  /* 数值 */
}
.score-wrap div {
  background: url(../img/heart.png) no-repeat;
  background-size: 100%;
  height: 0.52rem;
  left: 0.04rem;
  position: absolute;
  top: 0.04rem;
  width: 0.52rem;
  z-index: 1009;
}
.score-wrap span {
  font-size: 0.34rem;
}
/* 心动画 */
div.hearthot {
  -webkit-animation: fire .2s linear;
  -o-animation: fire .2s linear;
  animation: fire 0.2s linear;
}
@-webkit-keyframes fire {
  0% {
    opacity: 1;
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
  }
  100% {
    opacity: 0;
    -webkit-transform: scale(3);
    -moz-transform: scale(3);
    -ms-transform: scale(3);
    -o-transform: scale(3);
    transform: scale(3);
  }
}
@keyframes fire {
  0% {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
  }
  100% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
}
/* 背景 */
#guidePanel {
  background: rgba(0, 0, 0, 0.6) url(../img/startbg.png) center 50% no-repeat;
  background-size: 4.38rem 7.38rem;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10000;
}
/* GameOver */
#gameoverPanel {
  background: rgba(0, 0, 0, 0.8) url(../img/gameover.png) center 30% no-repeat;
  background-size: 4.6rem 5.2rem;
  top: 0;
}
#gameoverPanel,
#resultPanel {
  display: none;
  height: 100%;
  position: absolute;
  width: 100%;
  z-index: 10000;
}
/* 重玩背景 */
#resultPanel {
  background: url(../img/endpage.jpg) no-repeat center / cover;
}
#resultPanel,
#resultPanel .weixin-share {
  left: 0;
  top: 0;
}
#resultPanel .weixin-share {
  background: rgba(0, 0, 0, 0.8);
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 100;
}
.weixin-share iframe {
  width: 100%;
  height: 100%;
}
/* 重玩按钮 */
/*#resultPanel .replay {
  background: url(../img/replay.png) 0 0 no-repeat;
  height: 72/@a;
  line-height: 72/@a;
  left: 32/@a;
  overflow: hidden;
  position: absolute;
  top: 22/@a;
  width: 192/@a;
  z-index: 10;
  color: #E44324;
  text-align: right;
  padding-right: 12/@a;
  font-weight: 700;
  font-size: 24/@a;
}*/
#resultPanel .panel,
#scoreBoard .score-result {
  display: none;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}
#fenghao {
  height: 1.36rem;
  margin-top: 1.8rem;
}
/* 评价内容 */
#scorecontent {
  font-size: 0.32rem;
  font-weight: 700;
  color: #666;
  text-align: center;
  line-height: 1.8em;
  margin-top: 0.1rem;
}
.lighttext {
  color: #d12210;
}
/* 给力 */
.geili {
  background: url(../img/geili.png) center no-repeat;
}
/* 饮恨 */
.yinhen {
  background: url(../img/yinhen.png) center no-repeat;
}
/* 抽奖 */
.textc {
  text-align: center;
}
/* 按钮 */
.btn1,
.btn2 {
  display: inline-block;
  width: 3.92rem;
  height: 1.08rem;
  line-height: 1.08rem;
  color: #FFF;
  font-size: 0.4rem;
  border-radius: 0.1rem;
  text-align: center;
}
.btn1 {
  margin-top: 0.44rem;
  background-color: #E8722C;
}
.btn2 {
  margin-top: 0.24rem;
  border: 1px solid #6A6B6D;
  background: white;
  color: #666;
}
.popup {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99999;
  display: none;
}
.popup .inner {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 1px;
  height: 1px;
  margin: auto;
}
.popup .inner .box {
  width: 5rem;
  padding: 0.4rem 0.2rem;
  transform: translate(-50%, -50%);
  background: #f0f0f0;
  border-radius: 0.1rem;
  text-align: center;
}
.popup p {
  font-size: 0.32rem;
  line-height: 0.48rem;
  color: #666;
}
.popup a {
  display: block;
  margin: 0.3rem auto 0;
  width: 3rem;
  font-size: 0.32rem;
  border-radius: 0.1rem;
  line-height: 0.62rem;
  color: white;
  background: #17aa80;
}
.mask {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 1000000;
  display: none;
}
